package tcnplanner;

import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;

@Embeddable
public class Batch implements Serializable {

    /**
     * The amount of wafers/products contained in this batch.
     */
    //---Fields---
    //@JoinColumn (nullable=true)
    private int batchSize;
    //@JoinColumn (nullable=true)
    //private Reservation Reservation;
    //private long BatchID

    public Batch(){
    }
    //constructor
    public Batch(int size) {
        this.batchSize = size;
        //this.Reservation = reservatie;

    }
    //--methods--

//    public Reservation getReservation() {
//        return Reservation;
//    }
//
//    public void setReservation(Reservation Reservation) {
//        this.Reservation = Reservation;
//    }

    public int getSize() {
        return batchSize;
    }

    public void setSize(int size) {
        this.batchSize = size;
    }
}
